﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Harkon.AppServer.cOne.CommandQueues;
using log4net;
using System.Threading;

namespace SampleQueueComponent
{
    public class SampleQueue : CommandQueueBase<SampleQueueCommand>
    {

        private static ILog logger = LogManager.GetLogger(typeof(SampleQueue));

        protected override void CommandExecution(StandardCommand command)
        {
            Thread.Sleep(500);
            logger.InfoFormat("{0}", command);
        }
    }
}
